<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class AddColumnEverydayInMessageTable extends AbstractMigration
{
    public function change()
    {
        $this->table('message')
            ->changeColumn('notify_type', 'enum', [
                'values' => 'default,task_remind,approval,examine,todo,everyday_report',
                'default' => 'default',
                'null' => false,
                'comment' => '通知类型'
            ])->save();
    }
}
